package com.woniuxy.reservation.client.reservationclient;

import com.woniuxy.reservation.client.param.SearchReservationByConditionParam;
import com.woniuxy.reservation.client.result.ReservationClientDto;
import common.WoniuPage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import result.Result;

@FeignClient(contextId = "reservationQueryClient",name = "reservation")
public interface ReservationQueryClient {
    @GetMapping("/searchReservationByCondition")
    public Result<WoniuPage<ReservationClientDto>> searchReservationByCondition(@SpringQueryMap SearchReservationByConditionParam param);
}
